projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c596952
)
(x_window): Take account of internal border of paned widget.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 5 Jun 1994 12:43:42 +0000
(12:43 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 5 Jun 1994 12:43:42 +0000
(12:43 +0000)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index 4e3144e5dc42a79032239765db2b97d69e8b8ae6..b3c2731c7d1e8686986b76911c5f68e9fcc43b67 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-1908,12
+1908,18
@@
x_window (f, window_prompting, minibuffer_only)
char *tem, shell_position[32];
Arg al[2];
int ac = 0;
+ int ibw;
int menubar_size
= (f->display.x->menubar_widget
? (f->display.x->menubar_widget->core.height
+ f->display.x->menubar_widget->core.border_width)
: 0);
+ XtVaGetValues (pane_widget,
+ XtNinternalBorderWidth, &ibw,
+ NULL);
+ menubar_size += ibw;
+
if (window_prompting & USPosition)
{
int left = f->display.x->left_pos;